﻿using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using MyKnownTemplate;
using MyKnownTemplate.Client;

var builder = WebAssemblyHostBuilder.CreateDefault(args);
Config.IsClient = true;
Config.HostUrl = builder.HostEnvironment.BaseAddress;
builder.Services.AddMyKnownTemplate();
builder.Services.AddMyKnownTemplateClient();
await builder.Build().RunAsync();